package org.piaohao.howtodoit.usermanager;

import com.jfinal.plugin.activerecord.IBean;
import com.jfinal.plugin.activerecord.Model;

public abstract class BaseUser<M extends BaseUser<M>> extends Model<M> implements IBean {

    public void setEmail(String email) {
        set("email", email);
    }

    public String getEmail() {
        return getStr("email");
    }

    public void setFirstName(String firstName) {
        set("firstName", firstName);
    }

    public String getFirstName() {
        return getStr("firstName");
    }

    public void setLastName(String lastName) {
        set("lastName", lastName);
    }

    public String getLastName() {
        return getStr("lastName");
    }

    public void setPassword(String password) {
        set("password", password);
    }

    public String getPassword() {
        return getStr("password");
    }

}
